﻿using System.Collections.Generic;
using System.Runtime.Serialization;
using MyFloridaHouse.libSvDTO;

namespace MyFloridaHouse.libSTO
{
	/// <summary>
	/// Shape Uogid STO (server transfer object)
	/// </summary>
    [DataContract]
    public class ShapeUogidSTO
    {
        List<ShapeUogIDDTO> _uogidList;
        int _districtID;
        string _errorMessage;

		/// <summary>
		/// Initializes a new instance of the <see cref="ShapeUogidSTO"/> class.
		/// </summary>
        public ShapeUogidSTO()
        {
            _uogidList = new List<ShapeUogIDDTO>();
            _districtID = -1;
            _errorMessage = "";
        }

		/// <summary>
		/// Gets or sets the uogid list of <see cref="ShapeUogIDDTO"/>.
		/// </summary>
		/// <value>The uogid list.</value>
        [DataMember]
        public List<ShapeUogIDDTO> uogidList
        {
            get { return _uogidList; }
            set { _uogidList = value; }
        }

		/// <summary>
		/// Gets or sets the district ID.
		/// </summary>
		/// <value>The district ID.</value>
        [DataMember]
        public int districtID
        {
            get { return _districtID; }
            set { _districtID = value; }
        }

		/// <summary>
		/// Gets or sets the error message.
		/// </summary>
		/// <value>The error message.</value>
        [DataMember]
        public string errorMessage
        {
            get { return _errorMessage; }
            set { _errorMessage = value; }
        }

    }
}
